package com.recommend.recommendkeyword.mapper;

import com.recommend.recommendkeyword.entity.LikeHistory;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface LikeHistoryMapper {
    LikeHistory getHistoryByUserAndWord(int userId, int recommendId);
    int insertHistory(int userId, int recommendId, int type, Timestamp likeTime);
}
